package com.ltmonitor.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 测试类
 * @author Administrator
 *
 */
@Controller
@RequestMapping("/shinion")
public class ShinionTest {

	@RequestMapping("/getInfo.action")
	public String getInfo(long vehicleId,Model model) {
		model.addAttribute("message", "this is test code from java"+vehicleId);
		model.addAttribute("vehicleId", vehicleId);
		return "test/tabs";
	}
	@RequestMapping("/getPage1.action")
	public String GetPage1(Model model) {
		model.addAttribute("message", "车辆基本信息界面");
		return "test/test";
	}
}